package com.huaxiafinance.management.dto.request;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by huangwencheng on 2017/11/08.
 */
public class UnregisterDto {

    private Integer channelType;

    private String startTime;

    private String endTime;

    private String invite;

    private String invited;
    @NotNull(message = "页数不能为空")
    private Integer page;

    @Max(value=50,message="最大行数为50")
    @Min(value=2,message="最小行数为5")
    private int rows;

    private Date startDate;

    private Date endDate;

    public Integer getChannelType() {
        return channelType;
    }

    public void setChannelType(Integer channelType) {
        this.channelType = channelType;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getInvite() {
        return invite;
    }

    public void setInvite(String invite) {
        this.invite = invite;
    }

    public String getInvited() {
        return invited;
    }

    public void setInvited(String invited) {
        this.invited = invited;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public int getRows() {
        return rows;
    }

    public void setRows(int rows) {
        this.rows = rows;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    @Override
    public String toString() {
        return "UnregisterDto{" +
                "channelType=" + channelType +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", invite='" + invite + '\'' +
                ", invited='" + invited + '\'' +
                ", page=" + page +
                ", rows=" + rows +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                '}';
    }
}
